#pragma once
#include "sgpolygon.h"

class CSgSphere :
	public CSgPolygon
{
public:
	CSgSphere( double r=1);
	~CSgSphere(void);

	void Render();

	void CreateSphere();
	void SphereFace(int p_recurse, GLdouble *a, GLdouble *b, GLdouble *c);

private:
	// The radius of the sphere
	double m_r;
};
